<template>
    <div class="admin">
        <div class="aside">
            <router-link to="/admin/dash">首页</router-link>
            <br />
            <router-link to="/admin/orderlist">订单列表</router-link>
        </div>
        <div class="main">
            <router-view></router-view>
        </div>
    </div>
</template>
<style scoped>
.admin {
    display: flex;
}
.aside {
    width: 200px;
    height: 100vh;
    background-color: #f0f0f0;
}
.main {
    flex: 1;
}
</style>